<template>
    <div class="item-title">
      <img class='item-img' src="../../assets/pay.jpg" alt="">
      <h1 class="item-back" @click="clickToIndex">不想付钱，点此返回首页</h1>
    </div>
</template>
<script>
// import axios from 'axios'
// import { mapState } from 'vuex'

export default {
  name: 'Pay',
  data () {
    return {
    }
  },
  methods: {
    clickToIndex () {
      this.$router.push('/')
    }
  }
}
</script>
<style lang='stylus' scoped>
  .item-img
    width: 100%
    height: 100%
  .item-back
    text-align: center
    font-size: .5rem
    color: red
    margin-top: 0.5rem
</style>
